package com.example.kt_base.s4

//TODO 64.Kotlin语言的集合转换与快捷函数学习
fun main() {
    val list= listOf("derry","derry","lance","lisi")
    println(list)

    val set=list.toSet()
    println(set)

    val list2=list.distinct()
    println(list2)

}
